package com.skyline.jfs.base.service.impl;

import java.util.Date;
import java.util.List;

import com.skyline.jfs.base.model.JFSLog;
import com.skyline.jfs.base.service.JFSLogger;
import com.skyline.jfs.base.type.JFSLogType;
import com.skyline.jfs.base.type.JFSOperation;

public class JFSLoggerImpl implements JFSLogger {

	@SuppressWarnings("deprecation")
	@Override
	public void log(JFSLog log) {
		Date date=new Date();
		System.out.print("["+log.getLogType()+"]");
		System.out.print("	["+date.getHours()+":"+date.getMinutes()+"-"+date.getSeconds()+"]");
		System.out.print("	"+log.getOperator()+"	"+log.getOperation()+"	"+log.getObject());
		System.out.println();
	}
	
	public List<JFSLog> getAllLog(){
		return null;
	}

	public List<JFSLog> getAllLog(JFSLogType logType){
		return null;
	}

	public List<JFSLog> getAllLog(JFSOperation operation){
		return null;
	}

	public List<JFSLog> getAllLog(String operator){
		return null;
	}

	public List<JFSLog> getTodayLog(){
		return null;
	}

}
